<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
            "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>



<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.08">
<LINK rel="stylesheet" type="text/css" href="embroot.css">
<TITLE>
Obtaining the Interface Type
</TITLE>
</HEAD>
<BODY >
<A HREF="embroot022.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="embroot016.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="embroot024.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>

<H2 CLASS="section"><A NAME="htoc44">5.7</A>&nbsp;&nbsp;Obtaining the Interface Type</H2>

Generally, the Tcl embedded and remote interfaces are designed to allow the
user to write code that can be used via both interfaces. However, sometimes
it may be necessary to distinguish the two. This can be done via:
<DL CLASS="description" COMPACT=compact><DT CLASS="dt-description">
<A NAME="@default105"></A><B>ec_interface_type</B><DD CLASS="dd-description"><BR>
	returns embedded for the embedding interface, and remote for the
 remote interface.
</DL>
<HR>
<A HREF="embroot022.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="embroot016.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="embroot024.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
